package com.cykj.system.api.domain;

import com.cykj.common.core.annotation.Excel;
import com.cykj.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * 商家用户对象 bs
 * 
 * @author 天才少年
 * @date 2025-08-21
 */
public class BsUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 商家ID */
    private Long id;

    /** 商家姓名 */
    @Excel(name = "商家姓名")
    private String name;

    /** 商家电话号码 */
    @Excel(name = "商家电话号码")
    private String phone;

    /** 商家密码 */
    @Excel(name = "商家密码")
    private String password;

    /** 商家身份证 */
    @Excel(name = "商家身份证")
    private String idCard;

    /** 商家头像 */
    @Excel(name = "商家头像")
    private String avatar;

    /** 店铺审核状态：0=未审核, 1=审核通过, 2=审核不通过 */
    @Excel(name = "店铺审核状态：0=未审核, 1=审核通过, 2=审核不通过")
    private Long checkStatus;

    /** 审核人 */
    @Excel(name = "审核人")
    private String checker;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }

    public void setIdCard(String idCard) 
    {
        this.idCard = idCard;
    }

    public String getIdCard() 
    {
        return idCard;
    }

    public void setAvatar(String avatar) 
    {
        this.avatar = avatar;
    }

    public String getAvatar() 
    {
        return avatar;
    }

    public void setCheckStatus(Long checkStatus) 
    {
        this.checkStatus = checkStatus;
    }

    public Long getCheckStatus() 
    {
        return checkStatus;
    }

    public void setChecker(String checker) 
    {
        this.checker = checker;
    }

    public String getChecker() 
    {
        return checker;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("idCard", getIdCard())
            .append("avatar", getAvatar())
            .append("checkStatus", getCheckStatus())
            .append("checker", getChecker())
            .append("createTime", getCreateTime())
            .toString();
    }
}
